<template>
  <div>
    <div>
      <h4>计划P</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="7">
          <span>能否经口进食</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd84">
              <el-checkbox label="不能经口进食，改变营养方式"></el-checkbox>
              <el-checkbox label="能经口进食以下食物"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd84input" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
        <el-col :span="7">
          <span>能经口进食以下食物</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd86">
              <el-checkbox label="冰块"></el-checkbox>
              <el-checkbox label="水/稀流质"></el-checkbox>
              <el-checkbox label="浓流质"></el-checkbox>
              <el-checkbox label="糊状食物"></el-checkbox>
              <el-checkbox label="固体食物"></el-checkbox>
              <el-checkbox label="混合物"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd86input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="8">
          <span>训练计划</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd87">
              <el-checkbox label="增加口腔吞咽器官的运动功能"></el-checkbox>
              <el-checkbox label="增加病人吞咽过程中的气道保护功能"></el-checkbox>
              <el-checkbox label="增加咽的功能"></el-checkbox>
              <el-checkbox label="提供给病人或照顾者安全的吞咽技巧"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd87input" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="其他"
              v-model="pgForm.tygnlcpg1_tyyxxzd88">
            </el-input>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>病人及照顾者的教育</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd89" >
              <el-radio :label="3">根据治疗提供了建议与教育</el-radio>
              <el-radio :label="6">其他</el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd89input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col>
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="其他"
              v-model="pgForm.tygnlcpg1_tyyxxzd90">
            </el-input>
          </div>
        </el-col>
        <el-col>
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="备注"
              v-model="pgForm.tygnlcpg1_tyyxxzd91">
            </el-input>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "plan_P2",
  title: "计划P",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data () {
    return {

      pgForm: {
        tygnlcpg1_tyyxxzd84:[],
        tygnlcpg1_tyyxxzd84input:'',
        tygnlcpg1_tyyxxzd86:[],
        tygnlcpg1_tyyxxzd86input:'',
        tygnlcpg1_tyyxxzd87:[],
        tygnlcpg1_tyyxxzd87input:'',
        tygnlcpg1_tyyxxzd88:'',
        tygnlcpg1_tyyxxzd89:'',
        tygnlcpg1_tyyxxzd89input:'',
        tygnlcpg1_tyyxxzd90:'',
        tygnlcpg1_tyyxxzd91:'',

      },
    };
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}

.el-checkbox-group{
  padding: 10px 20px;
}
.el-checkbox{
  display: block;
  margin-bottom: 15px;
}
</style>
